package com.ywjt.platformbusiness.my.model;

import java.util.List;

public class IntegralModel {


    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        private Integer goldIntegral;
        private Double silverIntegral;
        private List<IntegralFlowListDTO> integralFlowList;

        public Integer getGoldIntegral() {
            return goldIntegral;
        }

        public void setGoldIntegral(Integer goldIntegral) {
            this.goldIntegral = goldIntegral;
        }

        public Double getSilverIntegral() {
            return silverIntegral;
        }

        public void setSilverIntegral(Double silverIntegral) {
            this.silverIntegral = silverIntegral;
        }

        public List<IntegralFlowListDTO> getIntegralFlowList() {
            return integralFlowList;
        }

        public void setIntegralFlowList(List<IntegralFlowListDTO> integralFlowList) {
            this.integralFlowList = integralFlowList;
        }

        public static class IntegralFlowListDTO {
            private String id;
            private Object createBy;
            private String createTime;
            private Object updateBy;
            private Object updateTime;
            private Object sysOrgCode;
            private String userId;
            private Double amount;
            private Integer type;
            private Object remark;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public Object getSysOrgCode() {
                return sysOrgCode;
            }

            public void setSysOrgCode(Object sysOrgCode) {
                this.sysOrgCode = sysOrgCode;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public Double getAmount() {
                return amount;
            }

            public void setAmount(Double amount) {
                this.amount = amount;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }
        }
    }
}
